import java.io.Serializable;
import java.util.Vector;

/**
 * pastreaza un vector de swimmers cititi din baza de date
 */
public class TimeSwimData extends SwimData implements Cloneable , Serializable 
{
	protected Vector swimmers;

	public TimeSwimData(Vector sw) {
		//this constructor copies vector as a clone
		swimmers = new Vector();
		for (int i = 0; i < sw.size(); i++) {
			swimmers.add (sw.elementAt (i));
		}
	}
	//--------------
	public SwimData myClone() {
		return new TimeSwimData(swimmers);
	}


}